The following article aims to successfully integrate PushPanda into your website through two different methods.
First option β Google Tag Manager
Log in to your Google Analytics Account. In the right upper corner, you find the Analytics Suite that allows you to switch to the Google Tag Manager.
Please add a new Tag and select an appropriate name like "PushPanda". If you have different names, add the language, e.g., PushPanda EN. Click Tag Configuration and choose Custom HTML on the left side.
Please go to your PushPanda account and navigate to Embed-Code. Now place the copied lines of the code in the "Custom HTML" tag in the Google Tag Manager. Please select your trigger.
Available triggers are displayed on the left side. Please select the trigger "All Pages" here. If you want to use several languages, select the filter "Page URL".
Save the Trigger and the Tag.
βThe last click on "send" publishes the tag on your website. Well done! You have successfully integrated PushPanda into your website.
Second option β Source Code Integration
Add PushPanda.io Embed-Code to Your Site
To integrate PushPanda on your website, the HTML code that you can find in your PushPanda account under Projects, Website, Settings, Embed-Code must be inserted in your website's "head" tag or before the closing "body" tag. If you do not have access to your website, ask your developer to do this.
Upload the PushPanda.io Service Worker File to Your Site
Next, you will need to add the PushPanda.io Service Worker file to your website. To do so,
download the Zip file: https://cdn.pushpanda.io/sdk/PushPandaWorker.zip
unzip the downloaded file. There should be one file:
PushPandaWorker.js
upload this file to the top-level/root of your website (e.g. via FTP), making it publicly accessible.
The file must be served with a content-type of application/javascript
Once you have uploaded the PushPanda SDK file, the following URL should be publicly accessible: