What are AnyTrack standard tracking parameters?

The AnyTrack JS Tag, or Server Side API is how you record any actions your users perform on or off your site, along with any related properties.

The AnyTrack JS Tag, or Server Side API, is how you record any actions your users perform on or off your site, along with any related properties.

AnyTrack uses standard naming conventions that align with the industry best practices. This allows you to use a single naming convention and let AnyTrack translate, format, and forward your events and their related properties to your ad pixels and Conversion API integrations.

What are the Standard AnyTrack Events?

The AnyTrack platform triggers standard events via the AnyTrack JS Tag or via the Server-Side API when the event is triggered by a third-party platform (Affiliate Network, eCommerce platform, Zapier, or an external resource).

If you are using server-side API, read through this guide on Webhooks.

Standard events:

Event Name Description Event Source
OutboundClick
When a user clicks on an external link
AnyTrack('trigger', 
       'OutboundClick');
AddToCart
When a user clicks on an Add To Cart Button
AnyTrack('trigger', 
         'AddToCart');
ViewContent
When a user views a product page
AnyTrack('trigger', 
       'ViewContent');
InitiateCheckout
When a user starts a checkout
AnyTrack('trigger', 
    'InitiateCheckout');

 

FormSubmit
When a user fills an online form
AnyTrack('trigger', 
  'FormSubmit');

 

Lead
When AnyTrack API receives a lead event with a 0 monetary value.
AnyTrack('trigger', 
'Lead');

 

CompleteRegistration
When AnyTrack API receives a lead event with a >0 Monetary value.
AnyTrack('trigger', 
'CompleteRegistration');

 

Purchase
When AnyTrack API receives a Purchase event with a > Monetary Value.
AnyTrack('trigger', 
'Purchase');

 

 

List of all the supported parameters and attributes:

Parameter name Type Default Value Notes
id string - The link id
url string - The event link
label string - The link label
brand string - Brand name
value number - Revenue
currency string Property Currency 3 letters currency (i.e. "USD" or "EUR")
transactionId string - transaction or order id
shippingPrice number -  
taxPrice number -  
items EventItem[] [] Array of items, see below
refId string - A reference id to be used later on postback URL conversion.

 

*When triggering an Event, AnyTrack will collect the data you send through your JS tag and will also tie additional parameters that are natively collected through the JS Tag (Cookies, IP, User Agent...)

Advance Matching Parameters

The following parameters are also supported for better matching and attribution. Those values will be automatically formatted and sent to Facebook and other pixels in their respective format.
Parameter name Type Example Notes
email string jsmith@example.com  
firstName string John  
lastName string Smith  
fullName string John Smith Optional, can be provided instead of first and last names
phone string +1 (650) 555 4444 Including country code and area code
birthdate string May 26, 1991 or 1991-05-26  
city string Menlo Park  
state string CA Two-letter state or province code
zipcode number 94025 Zip or Postal Code
country string US or United States Two-letter country code is recommended

 

*There is NO need for you to Hash the data as AnyTrack automatically formats and hashes the required data according to the ad pixels and analytics requirements.

E-Commerce Specific Events

If you are integrated with an eCommerce platform, you can add a list of "items" following the parameters below:

Item parameter Type Default Value Notes
id string - The item id/sku (required)
name string - The item name
quantity number 1 amount of items
price number - the item price (required)


Example of a Client Side JS Tag (purchase event)

Here is a complete example of how to use the event parameter when triggering an event:

<script>
var click_id = AnyTrack('trigger', 'Purchase', {
value: 29.9, // the total purchase value
shippingPrice: 5.9, // optional shipping price
taxPrice: 2.9, // optional taxes
currency: 'EUR',
transactionId: 'XJW0047',
email: 'jsmith@example.com',
firstName: 'John',
lastName: 'Smith',
items: [{
id: '20291', // the item catalog id (required)
name: 'Sony MDRZX110/BLK ZX Series Stereo Headphones',
quantity: 1,
price: 19.9 // the item price (required)
}, {
id: '49292', // the item catalog id (required)
name: '6.35mm Male 3.5mm Female Headphone Stereo Audio Connector',
quantity: 1,
price: 4.1 // the item price (required)
}]
});
</script>

Need support?

Questions? Problems? Need more info? Contact Anytrack Support for assistance!

Click here