Re-consent Scenario for AMP Implementations
Organization's who have implemented AMP can utilize Sourcepoint's re-consent workflows when creating Scenarios. The re-consent workflow for AMP is dependent on how your organization has implemented your <amp-consent> component. See below for more information:
Note: If you haven't done so already, be sure to set checkConsentHref in the parent JSON object and not the clientConfig object in the amp-consent component.
checkConsentHref = ……./amp
If your AMP consent component <amp-consent> has checkConsentHref = ……./amp then your organization should use Show Message Always.
1
<amp-consent id='consent' layout='nodisplay' type='SourcePoint'>
2
<script type="application/json">
3
{
4
"consentRequired": "remote",
5
"consentInstanceId": "sourcepoint",
6
"checkConsentHref": "https://sp-cdn.example.com/wrapper/tcfv2/v1/amp",
7
"promptUISrc": "https://ddhmlhfna6zcj.cloudfront.net/index.html?authId=CLIENT_ID",
8
"postPromptUI": "consent-ui",
9
"uiConfig": {"overlay":true},
10
"clientConfig": {
11
"accountId": 22,
12
"env": "stage",
13
"wrapperAPIOrigin": "https://wrapper-api.sp-stage.net/tcfv2",
14
"propertyId": 595,
15
"propertyHref": "https://automation.com",
16
"scriptUrl": "https://gdpr-tcfv2.sp-prod.net/1.2.11/wrapperMessagingWithoutDetection.js",
17
"isTCFV2": true,
18
"pmTab": "vendors",
19
"privacyManagerId": 5477,
20
"stageCampaign": false,
21
"mmsDomain": "https://mms.sp-stage.net"
22
}
23
}
24
</script> <div id="consent-ui">
25
<button on="tap:consent.prompt(consent=SourcePoint)">Privacy Settings</button>
26
</div>
27
</amp-consent>
Copied!
checkConsentHref = ……/amp-v2
If the amp consent component <amp-consent> has checkConsentHref = ……/amp-v2 then your organization should create a re-consent workflow using TCFv2 No Action step followed by a Show Message Always step.
1
<amp-consent id='consent' layout='nodisplay' type='SourcePoint'>
2
<script type="application/json">
3
{
4
"consentRequired": "remote",
5
"consentInstanceId": "sourcepoint",
6
"checkConsentHref": "https://sp-cdn.example.com/wrapper/tcfv2/v1/amp-v2",
7
"promptUISrc": "https://ddhmlhfna6zcj.cloudfront.net/index.html?authId=CLIENT_ID",
8
"postPromptUI": "consent-ui",
9
"uiConfig": {"overlay":true},
10
"clientConfig": {
11
"accountId": 22,
12
"env": "stage",
13
"wrapperAPIOrigin": "https://wrapper-api.sp-stage.net/tcfv2",
14
"propertyId": 595,
15
"propertyHref": "http://automation.com",
16
"scriptUrl": "https://gdpr-tcfv2.sp-prod.net/1.2.11/wrapperMessagingWithoutDetection.js",
17
"isTCFV2": true,
18
"pmTab": "vendors",
19
"privacyManagerId": 5477,
20
"stageCampaign": false,
21
"mmsDomain": "https://mms.sp-stage.net"
22
}
23
}
24
</script> <div id="consent-ui">
25
<button on="tap:consent.prompt(consent=SourcePoint)">Privacy Settings</button>
26
</div>
27
</amp-consent>
Copied!
Last modified 5mo ago
Export as PDF
Copy link