/** * Get the JS tracking code in HTML - Test if it is a string * * @covers AGA|Frontend|Render->get_html_tracking_code() */ public function test_get_html_tracking_code_IS_string() { $this->assertTrue(is_string($this->instance->get_html_tracking_code())); }
/** * Add the HTML tracking code in the WP head * * @return null|string */ public function add_tracking_code() { $render = new Render(); echo $render->get_html_tracking_code(); }