Skip to content

Other event codes

Before implementing the event codes, the pixel embed script should be added on every page of the website. Instruction

Event code template

<script>
  wph('track', 'event_name', { 
    content_name: 'content_name', other_parameters });
</script>

The parameters and values of event_name, content_name, and other_parameters are detailed in:
Available events and required parameters

Examples

View

<script>
    wph('track', 'ViewContent', { content_name: 'View' })
</script>

LandingPage

<script>
    wph('track', 'ViewContent', { content_name: 'LandingPage' })
</script>

Helper event - InputForm

<script>
    wph('track', 'ViewContent', { content_name: 'InputForm' })
</script>

Conversion event - Lead

<script>
    wph('track', 'Conversion', { content_name: 'Lead' })
</script>

Conversion event – PriceListEnd

<script>
    wph('track', 'Conversion', {
      content_name: 'PriceListEnd',
      contents: [{ id: 'VEHICLE_ID', model: 'VEHICLE_MODEL', 
                   price: 'VEHICLE_PRICE', category: 'VEHICLE_CATEGORY' }]})
</script>