webby88
Forum Replies Created
-
Forum: Plugins
In reply to: [Contextual Related Posts] Append UTM Campaign Parameters to Related LinksSo I figured it out. In output-generator.php I modified three lines of code on lines 271, 274 and 293.
$output .= '<a href="' . get_permalink( $result->ID ) . '" ' . $link_attributes . ' class="crp_title">' . $title . '</a>';I changed to:
$output .= '<a href="' . get_permalink( $result->ID ) . '<strong>?utm_source=mysite&utm_medium=relatedposts&utm_campaign=internal</strong>" ' . $link_attributes . ' class="crp_title">' . $title . '</a>';And everything seems to be working correctly.
Just wanted to put this out there for anyone who wants to do the same, and I think this would be a valuable option to add in the setting since I am sure this will not survive an update.
Forum: Plugins
In reply to: [Contextual Related Posts] Append UTM Campaign Parameters to Related LinksIt is simply added to the end of the permalink. For example: http://www.site.com/123456/some_random_title/%2F%3Futm_source%3Dmysite%26utm_medium%3Drelatedposts%26utm_campaign%3Dinternal
Its static info that tells analytics where the link came from.
Forum: Plugins
In reply to: [WP-EMail] Ensure Your Theme Has wp_head() and wp_footer()Both tags are in each of their respective files.