Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

http://localhost:9003/?

mock=true&sid=mock&tid=mock&isDesktop=true

new Date(this.activityDate)?.toLocaleDateString()

activityGalleryInfo(
clickTarget: string,
photoIndex: number,
photoName: string,
activityLocation: string,
activityName: string,
activityCategory: string,
activityDuration: string,
tripAdvisorRating: number,
tripAdvisorReviews: number,
eventName: string,
nativeElement,
customName
) {
const dnaRequest = {
eventName: 'custom',
clickTarget,
photoIndex,
photoName,
activityLocation,
activityName,
activityCategory,
activityDuration,
tripAdvisorRating,
tripAdvisorReviews,
pageTitle: this._browserService.Title ? this._browserService.Title : '',
customName,
customGroupName: 'activity',
productType: DNA_PRODUCT_TYPE
};
this.dispatchCustomEvent(eventName, nativeElement, dnaRequest);
}

You might also like