Zid
How to add Tafsee Popup to Zid: Zid has no box for your own JavaScript, so the code goes in through Zid's Google Tag Manager app.
Zid has no box for your own JavaScript, so the code goes in through Zid's Google Tag Manager app.
What you need
- Your website added in Tafsee Popup, and its install code. Open Websites and click Show install code.
- Access to the place in Zid where site-wide code goes.
The code looks like this, with your own site key:
<script>
(function (w, d, s, id) {
if (d.getElementById(id)) return;
var js = d.createElement(s); js.id = id; js.async = true;
js.src = 'https://popup.beta.tafsee.com/embed/v1.js';
js.dataset.site = 'pk_your_site_key';
d.head.appendChild(js);
})(window, document, 'script', 'tafsee-popup');
</script>Steps
- If you don't have one yet, create a free container at tagmanager.google.com and copy its ID (GTM-XXXXXXX).
- In the Zid dashboard, open App Market (سوق التطبيقات) → Campaign Tracking (تتبع الحملات) → Google Tag Manager.
- Enter the container ID and click Activate app (تفعيل التطبيق).
- In Tag Manager, go to Tags → New → Custom HTML, paste the embed code and set the trigger to All Pages.
- Submit and publish the container, then run the install check.
- Back in Tafsee Popup, open Websites and click Check my site.
The same steps are inside the app, next to your install code, on the website's Install and guides tab.
Good to know
- Because the code arrives through Google Tag Manager, it is not in the page's own source. After publishing the container, open your store once in a browser, then run the install check.
- The rule Adds to cart recognises Zid's add-to-cart buttons.

What you should see
The website shows Code installed. Publish a campaign set to As soon as the page opens and open your site in a private window: the popup appears.
If it does not work
- The check does not find the code: the container was saved but not published. In Tag Manager click Submit, then Publish.
- The tag does not fire: its trigger must be All Pages.
- Make sure the code is on every page, once.
- Add ?tafsee-debug=1 to a page address of your site. The test panel lists every campaign and what it is waiting for.
- More causes and cures: The install check fails.
Related
Last updated: October 12, 2026