Log in to Your Prestashop Admin Panel:
Go to your Prestashop admin URL and log in to your account.
Access Theme & Logo Settings:
In the admin panel, navigate to Design in the left-hand menu.
Click on Theme & Logo.
Open the Theme Customization:
In the Theme & Logo settings, click on Advanced Customization.
Select the Edit code option to access the template files.
Edit the Header Template:
In the file editor, locate the header.tpl file under the themes/[your-theme]/templates/_partials directory.
Click on the header.tpl file to open it for editing.
Paste the AdUp Tracking Script:
Find the closing
</head>
tag in the header.tpl file.Just before the closing
</head>
tag, paste your AdUp tracking script code.
Save Changes:
Click the Save button to apply the changes to your template file.
Clear Cache:
To ensure the changes take effect, clear the Prestashop cache by navigating to Advanced Parameters > Performance and clicking on Clear Cache.
Verify Integration:
Use AdUp's real-time tracking feature or browser developer tools to ensure the tracking script is correctly loaded and sending data.
A step by step guide to add AdUp's tracking script to Prestashop.
T
Written by Tishani Chandramohan
Updated over 5 months ago