Home / RSS Feeds / CWP – MailChimp RSS email ID
Duplicate Snippet

Embed Snippet on Your Site

CWP – MailChimp RSS email ID

Adds MailChimp email ID to RSS feeds for better conversion tracking

Code Preview
php
<?php
/**
 * RSS feed, add MailChimp email query string
 */
function cwp_rss_mailchimp_email( $url ) {
	return add_query_arg( 'adt_ei', '*|EMAIL|*', $url );
}
add_filter( 'the_permalink_rss', 'cwp_rss_mailchimp_email' );

Comments

Add a Comment