Skip to content

Commit

Permalink
Add piximedia
Browse files Browse the repository at this point in the history
  • Loading branch information
AmauriC committed Feb 29, 2024
1 parent c963fa8 commit 31c23ec
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions tarteaucitron.services.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,25 @@ tarteaucitron.services.iframe = {
}
};

// piximedia
tarteaucitron.services.piximedia = {
"key": "piximedia",
"type": "ads",
"name": "Piximedia",
"uri": "https://piximedia.com/privacy/",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";

if (tarteaucitron.user.piximediaName === undefined || tarteaucitron.user.piximediaTag === undefined || tarteaucitron.user.piximediaType === undefined || tarteaucitron.user.piximediaId === undefined) {
return;
}

tarteaucitron.addScript('https://ad.piximedia.com/tools/activity/?' + tarteaucitron.user.piximediaName + '||'+ tarteaucitron.user.piximediaTag + '|' + tarteaucitron.user.piximediaType + '|' + tarteaucitron.user.piximediaId + '|||||');
}
};

// screeb
tarteaucitron.services.screeb = {
"key": "screeb",
Expand Down
2 changes: 1 addition & 1 deletion tarteaucitron.services.min.js

Large diffs are not rendered by default.

0 comments on commit 31c23ec

Please sign in to comment.