To set up PadiAct, you need to have access to the source code for your website or to 3rd party systems (e.g. plugins, tag management systems, etc) that have the option of adding the code to your website.
- Check that the URL of the domain matches the one for your website.
You’ll see something similar to the code snippet below, where XXXXXXXXXXXX indicates your PadiAct ID.
PadiAct needs this tiny code added to your website to be able to target your visitors. Paste it on every page of your site, anywhere on the page. For example, you can place it before the Google Analytics tracking code.
- you only need to add the code once
- the code is invisible to your users, so you can fully test everything before activating a campaign
- don’t forget to validate the code once it’s on your website.
The code works automatically with both http and https web pages.
3rd party systems
Another way to add the tracking code to your website is via 3rd party applications or systems like WordPress plugins or tag managers. Such systems will only require your PadiAct ID in order to activate PadiAct on your website.
Extra functionality (advanced users)
Certain scenarios, like offering an unique discount coupon to each subscriber, the moment he subscribes, will require a few extra bits of code to be added to your website.
We call them hooks as these codes will only be triggered by the subscription process through PadiAct. Add the following lines next to your existing PadiAct code and replace the commented lines (together with the console.log line) with the extra functionality that you want to code into PadiAct: