- Set up 2 two redirects in Redirection:
- Redirect #1:
- In the Source URL box put: /privacy-policy
- In the Target URL box put: https://custom.cvent.com/1BCEF332C45D4886B2C59166A2DBA8ED/files/b914e78e7b154ad2bf43db005014076c.pdf
- Redirect #2:
- In the Source URL box put: /privacy-policy/
- In the Target URL box put: https://custom.cvent.com/1BCEF332C45D4886B2C59166A2DBA8ED/files/b914e78e7b154ad2bf43db005014076c.pdf
- Redirect #1:
- Make sure in Settings->Privacy that privacy page is set to Privacy Policy. If there is no Privacy Policy page, click “Create New Page” and then “Publish”
- Set up privacy policy in the footer
- In Salient->Footer check “Disable Automatic Copyright” and paste privacy policy link and copyright in the field above called “Footer Copyright Section Text”.
- Ex: © 2018 Sugarcon. <a href=”/privacy-policy” target=”_blank” rel=”noopener”> Privacy Policy</a>
- If you use the line above be sure to replace all quotation marks (‘) as they copy as backticks
- Ex: © 2018 Sugarcon. <a href=”/privacy-policy” target=”_blank” rel=”noopener”> Privacy Policy</a>
- In Salient->Footer check “Disable Automatic Copyright” and paste privacy policy link and copyright in the field above called “Footer Copyright Section Text”.
- Anytime you need to display a link to the privacy policy, simply link to /privacy-policy
PRIVACY POLICY ON COMMENT
Akismet Privacy Policy Enabled
- In Akismet settings next to Privacy, check circle for “Display a privacy notice under your comment forms.”
- Info on how Akismet handles data: https://automattic.com/privacy-notice/ | https://automattic.com/privacy/
PRIVACY POLICY CHECKBOX ON ALL FORMS
Gravity Forms
- In each form you want the privacy policy on, add a checkbox to the bottom of the form labelled Privacy Policy with one checkbox with the text: By using this form you agree with the storage and handling of your data by this website. You can learn about how we handle the information we collect in our <a href=”/privacy-policy” target=”_blank”>Privacy Policy</a>. Make sure this field is required.
- Be sure to replace all quotation marks (“) after copying over as they copy as backticks
Formidable Forms
- In each form you want the privacy policy on, add a checkbox to the bottom of the form labeled Privacy Policy with one checkbox with the text: By using this form you agree with the storage and handling of your data by this website. You can learn about how we handle the information we collect in our <a href=”/privacy-policy” target=”_blank”>Privacy Policy</a>. Make sure this field is required.
- Be sure to replace all quotation marks (“) after copying over as they copy as backticks
COOKIE OPT-IN
Only do this step IF the site has cookies a user must opt-in to. Ignore Google Analytics and anything strictly necessary, but include Pixels, LiveChat, ZenDesk, Hubspot etc.
- Download and activate Cookie Notice Plugin
- Go to Settings->Cookie Notice and configure as follows:
- In message box write: “Please enable cookies so that we can give you the best experience possible on our website.”
- Check box for “Refuse cookies”
- Check box for “Revoke cookies”
- Check box for “Reloading”
- Change bar color to “#404040”
- Optional but recommended: add CSS to Salient
/* Cookie Privacy Bar */
.cn-button.bootstrap {
background: #e35e25;
background-image:none;
}
.cn-button.bootstrap:hover,
.cn-button.bootstrap:focus {
background-color: #e35e25;
}
- Add the following code to functions.php to only show the privacy bar if users are not logged in, remember to CHANGE the tracking ID where it says TRACKING ID and if you’re using Hubspot change the domain where it says DOMAIN and keep a “.” in front (example: .unbridled.com):
// Hide cookie notice banner if logged in
add_action('wp_head', 'add_css_head');
function add_css_head() {
if ( is_user_logged_in() ) {
?>
<style>
#cookie-notice {
display:none !important;
}
</style>
<?php
}
}
If you’re using FB Pixel
add_action('wp_head', 'cookie_notice_accept');
function cookie_notice_accept() {
// Add FB Pixel code if accepted or user is logged in
if ( function_exists('cn_cookies_accepted') && cn_cookies_accepted() || is_user_logged_in() ) {
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window,document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', 'TRACKING ID');
fbq('track', 'PageView');
</script>
<noscript>
<img height="1" width="1" src="https://www.facebook.com/tr?id=TRACKING ID&ev=PageView
&noscript=1" />
</noscript>
<!-- End Facebook Pixel Code -->
<?php
}
}
If you’re using HubSpot
add_action( 'wp_footer', function () {
// Add Hubspot if user accepts or is logged in
if ( function_exists('cn_cookies_accepted') && cn_cookies_accepted() || is_user_logged_in() ) { ?>
<!-- Start of HubSpot Embed Code -->
<script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/3308145.js"></script>
<!-- End of HubSpot Embed Code -->
<?php }
} );
add_action('init', 'cookie_notice_not_accept');
function cookie_notice_not_accept() {
if ( function_exists('cn_cookies_accepted') && ! cn_cookies_accepted() ) {
// Delete all Hubspot cookies
$cookie_name = "__hstc";
setcookie($cookie_name, "", time() - 3600, "", "DOMAIN");
$cookie_name = "hubspotutk";
setcookie($cookie_name, "", time() - 3600, "/", "DOMAIN");
$cookie_name = "__hssc";
setcookie($cookie_name, "", time() - 3600, "/", "DOMAIN");
$cookie_name = "__hssrc";
setcookie($cookie_name, "", time() - 3600, "/", "DOMAIN");
}
}
- Remember to delete any other instance of 3rd party tracking code, whether it be in the footer, header, theme or plugin