Property | Type | Description | |
---|---|---|---|
string | Google Analytics code. |
Method | Description | |
---|---|---|
__construct ( array $configs = [] ) | Make an Analytics instance. | |
__toString ( ) : string | Render the tag. | |
render ( ) : string | Render the tag. | |
setGoogle ( string $code ) : |
Set Google Analytics code. |
Method | Description | |
---|---|---|
renderGoogleScript ( ) : string | Render the Google Analytics tracking script. |
public __construct ( array $configs = [] ) | ||
$configs | array |
protected renderGoogleScript ( ) : string | ||
return | string |