Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
primogenial
/
plugins
/
google-listings-and-ads
/
src
/
Tracking
:
TracksInterface.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare( strict_types=1 ); namespace Automattic\WooCommerce\GoogleListingsAndAds\Tracking; /** * Tracks interface for Google Listings and Ads. * * @package Automattic\WooCommerce\GoogleListingsAndAds\Tracking */ interface TracksInterface { /** * Record an event in Tracks - this is the preferred way to record events from PHP. * * @param string $event_name The name of the event. * @param array $properties Custom properties to send with the event. */ public function record_event( $event_name, $properties = [] ); }