PHP code example of claytoncollie / tracking-code-for-linkedin-insights-tag

1. Go to this page and download the library: Download claytoncollie/tracking-code-for-linkedin-insights-tag library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

claytoncollie / tracking-code-for-linkedin-insights-tag example snippets


add_filter(
	'tracking_code_for_linkedin_insights_tag_id',
	/**
	 * Set Linkedin Insights Tag partner ID.
	 *
	 * @param string $partner_id Partner ID.
	 *
	 * @return string
	 */
	function ( $partner_id ) {
		return '1234567';
	}
);