Wordpress tracking integration

This chapter will describe how to implement our tracking scripts on to your Wordpress based website.

We assume that you have downloaded and installed the Tracking Code Manager plugin (https://wordpress.org/plugins/tracking-code-manager/) from the official wordpress.org plugin directory.

Adding pageView-script to all pages

Navigate to the plugin page, placed under “Settings > Tracking Code Manager”.

link item

Once you’ve loaded that page please go to “Add new script” and the following page will show up:

edit pageview script

  • Assign a title to the new script entry.
  • Paste the script you’ve received from your account manager in its entirety in to the grey box.
  • Choose “Before </BODY>” in the “Position inside the code” dropdown list.

where to add code

  • Choose “Standard code tracking in your Wordpress”.
  • Choose “In the whole website”.
  • Optional: If you want to exclude the script from pages/posts you can do this. However, we do not recommend this.

When you are satisfied with your settings, go ahead and hit the save button and you’re done with the pageView-tracking!

Adding the order script to the order page

Tracking Code Manager supports various Wordpress eCommerce plugins and will make it easy for you to add your order tracking script to the order confirmation page of your web store.

Please go to “Settings > Tracking Code Manager” and go to the “Add new script”-tab.

order script with macros

  • Assign a title to the new script entry.
  • Paste the script you’ve received from your account manager in its entirety in to the grey box.
  • Choose “Track conversion in your Ecommerce”.

Optional: If you want to send us the order information, please use the pre-defined macros:

  • @@ORDERID@@ - Will send the order id
  • @@CURRENCY@@ - Will send the currency
  • @@TOTAL@@ - Will send the total amount of the order, including tax and shipping costs. If you want to send the amount excluding tax and shipping costs, please use @@AMOUNT@@. Make sure to place the macros within the quotation marks (“ “) in the script function as shown on the print screen above.

That’s all!

If you have any further questions, please reach out to technical@deltaprojects.com

Last modified: Mon Sep 23 2024 11:48:54 GMT+0200 (Central European Summer Time)

results matching ""

    No results matching ""