Conversion Tracking Event

Goals;

  • Easily identify and define a conversion event

    • Page visits, e.g. /success page

    • Form submissions

      • Via Basin

  • Capture all relevant source data

    • Referer

    • UTMs

    • etc.

  • Capture relevant conversion data

    • Transaction ID

      • From querystring, etc.

    • Conversion type

    • Conversion item

  • Clean data

    • Via transaction ID

    • SPAM-free, e.g. Basin

  • Configure it for;

    • Custom logging URL

Conversion Event Config

Conversion events are configured in an SA5 Configuration Block

e.g. a typical Basin Contact Us form

<script type="application/sa5+json">
{
  "@context": "https://attr.sygnal.com",
  "@type": "ConversionEvent",
  "@version": "0.1",
  "url": "https://conversion-tracker-url.com", 
  "transactionIdType": "query", 
  "transactionId": "transactionId",
  "type": "contact",
  "item": ""  
}
</script>
  • Data pulled in from session var

  • Overridden with data here

  • TransactionID created / set

Placement

These can be placed in a webpate

e.g. a typical Basin Contact Us form

<script type="application/sa5+json">
{
  "@context": "https://attr.sygnal.com",
  "@type": "ConversionEvent",
  "@version": "0.1",
  "url": "https://conversion-tracker-url.com", 
  "transactionIdType": "query", 
  "transactionId": "transactionId",
  "type": "contact",
  "item": ""  
}
</script>
  • Data pulled in from session var

  • Overridden with data here

  • TransactionID created / set

Configuration Settings

url

Specifies the conversion event logger URL base, without querystring params

type & item

Describe the type of conversion for data processing purposes, since different conversions

class ( FUTURE )

  • Purchase - payment captured

  • Booking - reservation, but no money captured

  • Enquiry -

  • Enrollment - good lifetime value, no immediate purchase

value ( FUTURE )

transactionIdType & transactionId

Indicates the type of the transaction ID

transactionIdType
transactionId
Notes

query

querystring param name

Retrieves the transactionId from the querystring via the named param

auto

querystring param name ( optional )

Auto-generates a transactionId from crypto. Automatically adds it to the redirect as the given param, if specified.

Future

transactionId

  • Push onto redirect URL in Webflow Forms

    • Allow ?param to be specified

unknown utm_source for unknown referers

  • First pass in lib

  • Fallback to generic hostname tracking

configurable param on redirect

Single-send

When a conversion is registered, avoid re-sending the same conversion Id

Check in session, etc.

ConversionLogged yes

Last updated